<template>
    <div v-for="{item,index} in list" :key="index">
        {{ item }}
    </div>
</template>

<script setup>
import { defineProps,ref } from 'vue'

const list = ref([])
const props = defineProps({
    receivedValue: {
        type: String,
        required: true
  }
});


console.log(props.receivedValue)
//list.value.push(props.receivedValue)





</script>

<style lang="scss" scoped>

</style>